<?php echo $this->Html->script('jquery.calculation.min'); ?>
Numbers:
				<input type="text" name="sum" value="3" size="2" />
				<input type="text" name="sum" value="2" size="2" />
				<input type="text" name="sum" value="1" size="2" />
				<input type="text" name="sum_alt" value="4" size="2" />
				&nbsp;&nbsp;
				Sum:
				<input type="text" name="totalSum" id="totalSum" value="" size="2" readonly="readonly" />
<script>    
    $(document).ready(function() {
        $("input[name^=';sum']").sum("keyup", "#totalSum");
    });
</script>